package main

import (
	"2212b/2212ay1/api"
	"2212b/2212ay1/inits"
	"github.com/gin-gonic/gin"
)

func main() {
	
	inits.InitMosql()
	inits.RedisInit()
	router := gin.Default()
	api.ToadRouter(router)
	router.Run() // 监听并在 0.0.0.0:8080 上启动服务
}
